home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / tclx / Keylist.man < prev    next >
Text File  |  1992-06-11  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. Keyed                UNKNOWN MANUAL SECTION                 Keyed
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      Tcl_GetKeyedListField,                Tcl_SetKeyedListField,
  12.      Tcl_DeleteKeyedListField - Keyed list management routines.
  13.  
  14. SSYYNNOOPPSSIISS
  15.      ##iinncclluuddee <<ttccllEExxtteenndd..hh>>
  16.  
  17.      int
  18.      TTccll__GGeettKKeeyyeeddLLiissttFFiieelldd (_i_n_t_e_r_p, _f_i_e_l_d_N_a_m_e, _k_e_y_e_d_L_i_s_t, _f_i_e_l_d_V_a_l_u_e_P_t_r);
  19.  
  20.      char *
  21.      TTccll__SSeettKKeeyyeeddLLiissttFFiieelldd (_i_n_t_e_r_p, _f_i_e_l_d_N_a_m_e, _f_i_e_l_d_v_a_l_u_e, _k_e_y_e_d_L_i_s_t);
  22.  
  23.      char *
  24.      TTccll__DDeelleetteeKKeeyyeeddLLiissttFFiieelldd (_i_n_t_e_r_p, _f_i_e_l_d_N_a_m_e, _k_e_y_e_d_L_i_s_t);
  25.  
  26. AARRGGUUMMEENNTTSS
  27.      Tcl_Interp   *_i_n_t_e_r_p           (in)      Interpreter to  use
  28.                                               for  error  report-
  29.                                               ing.
  30.  
  31.      const char   *_f_i_e_l_d_N_a_m_e        (in)      The  name  of   the
  32.                                               field  (the key) to
  33.                                               perform the  opera-
  34.                                               tion on.
  35.  
  36.      const char   *_k_e_y_e_d_L_i_s_t        (in)      The keyed  list  to
  37.                                               perform  the opera-
  38.                                               tion on.
  39.  
  40.      char         **_f_i_e_l_d_V_a_l_u_e_P_t_r   (out)     A  pointer   to   a
  41.                                               dynamicly allocated
  42.                                               string   containing
  43.                                               the  field value is
  44.                                               returned here.
  45. _________________________________________________________________
  46.  
  47.  
  48. DDEESSCCRRIIPPTTIIOONN
  49.      These routines perform operations on keyed lists.   See  the
  50.      _E_x_t_e_n_d_e_d _T_c_l man page for a description of keyed lists.
  51.  
  52.      TTccll__GGeettKKeeyyeeddLLiissttFFiieelldd retrieves a field value from  a  keyed
  53.      list. It returns TTCCLL__OOKK if the field was found, TTCCLL__BBRREEAAKK if
  54.      the field was not found and TTCCLL__EERRRROORR if an  error  occured.
  55.      NULL  maybe  specifled  for  _f_i_e_l_d_V_a_l_u_e_P_t_r  to check for the
  56.      presences of a field without actually extracting the value.
  57.  
  58.      TTccll__SSeettKKeeyyeeddLLiissttFFiieelldd sets a field value in keyed  list.  It
  59.      returns   a   pointer  to  a  dynamically  allocated  string
  60.  
  61.  
  62.  
  63. Sprite v1.0                     3                               1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. Keyed                UNKNOWN MANUAL SECTION                 Keyed
  71.  
  72.  
  73.  
  74.      containing the new list, or NULL if an error occured.
  75.  
  76.      TTccll__DDeelleetteeKKeeyyeeddLLiissttFFiieelldd deletes a field from keyed list. It
  77.      returns a pointer to a dynamically allocated string contain-
  78.      ing the new list, or NULL if an error occured.
  79.  
  80. KKEEYYWWOORRDDSS
  81.      lists, keyed
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sprite v1.0                     3                               2
  130.  
  131.  
  132.  
  133.